using System.Collections.Generic;
using System.ServiceModel;
using RandomSearch.PluginsCommon;

namespace RandomSearch.Host {
    [ServiceContract]
    public interface ISearchServer {
        [OperationContract]
        void StartSearch(SearchOptions options);

        [OperationContract]
        ReadyResultsResponse GetReadyResults();

        [OperationContract]
        void CancelSearch();

        [OperationContract]
        List<SearchPluginData> GetListOfPlugins();

        [OperationContract]
        void RefreshPlugins();

        [OperationContract]
        void DoHeating();
    }
}